package edu.zjucst.spb.service;

import edu.zjucst.spb.domain.vo.flow.joinParty.MyProcessTaskVO;
import org.flowable.task.api.Task;

import java.util.List;

public interface JoinPartyFlowService {

    void startProcess(String userId, String branchName);

    MyProcessTaskVO queryMyCreateProcess(Integer pageNumber, Integer pageSize, String userId);

    MyProcessTaskVO queryMyTODOProcess(Integer pageNumber, Integer pageSize, String groupName);

//    void simpleCompleteTask(String processId, boolean accept);

    void simpleCompleteTaskByTaskId(String taskId, boolean accept);

    void simpleDeleteProcess(String processId, String reason);
}
